#ifndef SHOPINFO_H
#define SHOPINFO_H

#include <QObject>
#include <QJsonObject>

class ShopInfo : public QObject
{
    Q_OBJECT
public:
    explicit ShopInfo(QObject *parent = nullptr);

public:
    QString TenantSign;
    QString ShopCode;
    QString ShopName;
    int PrinterDpi;
    int HShift;
    int VShift;
    QString PrinterName;
    QString PrinterIp;
    QString PrinterPort;
    QString PrinterXML;
    QString PrinterTemplateVersion;

public:
    static ShopInfo* FromJson(QJsonObject data);

signals:
};

#endif // SHOPINFO_H
